﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using InformationSystem.BLL.Core.Model;
using InformationSystem.BLL.Core.Dao.Impl;

namespace InformationSystem.BLL.Core.Dao
{
    public interface ICollegeDao
    {
        IList<College> GetAllCollegeInfo();
        College GetCollegeInfo(int collegeid);
        bool UpdateCollegeInfo(College college);

        IList<ClassInfo> GetClassInfoByAss(LoginUser user);
        ClassInfo GetClassInfo(string classid);
        bool UpdateClassInfo(ClassInfo classinfo, LoginUser user);
        bool CreateClassInfo(ClassInfo newclass, LoginUser user);
        bool DeleteClassInfoByID(string classid, LoginUser user);
    }
}
